﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Admin/Views/Shared/TemplateAdmin.Master" Inherits="System.Web.Mvc.ViewPage<MvcVehicleInsurance.Models.ClaimDetail>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Create
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2 class="ico_mug">Create Claim</h2>

    <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>
        
        <fieldset>
            <legend><h3>Fields</h3></legend>

            <h3>Survival Time of Bill</h3><br />
            
           
            
            <div class="editor-field">
                  <%: Html.DropDownListFor(model=>model.billNo, ((SelectList)ViewData["listBill"]))%>
                 </div><br />
            
            
            <h3>Policy Star Date</h3>

            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.policyStarDate) %>
                <%: Html.ValidationMessageFor(model => model.policyStarDate) %>
            </div><br />

            
           
            <h3>Policy End Date</h3>

            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.policyEndDate) %>
                <%: Html.ValidationMessageFor(model => model.policyEndDate) %>
            </div><br />

            
            
            <h3>Place of Accident</h3>

            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.placeOfAccident) %>
                <%: Html.ValidationMessageFor(model => model.placeOfAccident) %>
            </div><br />
            
            
            <h3>date of Accident</h3>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.dateOfAccident) %>
                <%: Html.ValidationMessageFor(model => model.dateOfAccident) %>
            </div><br />
            
            
            <h3>Insurance Amount</h3>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.insuredAmount) %>
                <%: Html.ValidationMessageFor(model => model.insuredAmount) %>
            </div><br />
            
            
            <h3>Claim Able Amount</h3>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.claimableAmount) %>
                <%: Html.ValidationMessageFor(model => model.claimableAmount) %>
            </div><br />
            
            <p>
                <input type="submit" value="Create"/>
            </p>
        </fieldset>
        
    <% } %>

    <div>
        <%: Html.ActionLink("Back to List", "Index") %>
    </div>

</asp:Content>

